bin/main: Print usage when no command given
authorJonathan Lebon <jlebon@redhat.com>
Fri, 1 Sep 2017 19:44:49 +0000 (15:44 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 13 Sep 2017 14:32:19 +0000 (14:32 +0000)
commit48364459b8570c11116a8783c3914c0150e8b385
treeb6f5be003ed08cbbfe9176130d226c99fc55069b
parent662ad5b1719de2337561cbec5ad9bfeed2211513
bin/main: Print usage when no command given

Minor regression from https://github.com/ostreedev/ostree/pull/1106. We
want to print the usage text both when unknown commands are passed, as
well as when no commands are passed at all.

Closes: #1126
Approved by: cgwalters
src/ostree/ot-main.c